added velocity template