added translate and a vertex at the end