Updated getTps() method to cap the tps at 20 to prevent weird issues