added code to shift game turn