end of lab code