created seperate draw class