Made game run smoother