class funcitons on front-end

caveat: get doesn't quite work