* use inherits for determing and acting upon class information
 * streamline an sapply call to not use an annonymous function