Lab4 integration