add type alias for function map type