shift around function declarations