added move in and move out option
move function to the function page