parses functions without arguments