Code for 4700 examples