renamed correspType to correspClass
added first examples