added static vs moving vertex support