merged stuff to sprite