added framework for sprites