added sprite rendering