adding function declaration