Now function is defined in subroutine