accept inline functions as act instead of separate act file