added sprite sheet funcitonality