shapes -> frontend