predefs and 'function' working