added velocity and position controllers