separating functions

minifieds pulled in with mappings