is there any other code thats shorter