changed frame rate to imporve performance