simpify location definiton (in the template)