logic moved to frontmaps library