make a function for each possible move