started to add sprite functionality
worked on utility functions