experiment code almost done