making sure classes work