start of shape model