improved lab code