further development of lab 2