sprite sample program