making code shorter