refactored drawing of objects
Merge remote-tracking branch 'origin/master'