better front-end loc