Refactored code and changed the sprites size