Added chess and fixed input