checking in classes work