added prelab analysis