also these methods should really be in a controller of there own