split helpers and added sprite drawing