adding function types