uses name to figure out shape