Fixed type in function declaration