change function declaration