rewritten function declarations as expressions