added two player functionality