two funcs with parameters and sets returning types