added draw method to gui objects