splitted draw method into gui and normal