added basic sprite manipulation