Why do you need this initVertex() here? You already add it in confgure.