adding sprite example
added keyword args