Complex functions file; includes complex header