Create SearchClass method