refactor show classes