adapt the format of lab.html