Implemented type function