Added line number information to Function