mv funcs into sections