lintes in function