updated code of noclass