reducing spinner size even more by removing unecessary variables