Implemented a getType function