added type switch class