closes #1 supporting functions with no arguments