removed unused duplicate feedrate variable