omit repeated same types in function defs