finished classes.js