Trying writing turns logic without checking of right working.