inital commit w mean code to aid understanding