updated RPM calculation