add draw functions