seperated functions and partials