using cleaner syntax (reverted from previous canonical agent syntax, because it seems to work)