Function definition moved