coding up practice - complete. began experiment 1