Testing a move function. It needs to be broken down though