finished the implementation of showtypes