adding function protypes