made methods into class; added some info