Framework for lab 9