added shape support to vertex