adding labels to sprite handling to make it more readable