main code 22 June EOD