Refactoring draw functions