move the function around