implemented drawing cube and floow