updated presentation and code