Lab7 sim done