finalized code and news