Frontend for multigrain