added methods to sprite