legend as controls