added helper functions
improved asset drawing