making moves in GUI