accept only shapes with names