minor mods in preparation for lab code