implemented random plus or minus function as "rpm"