got the basic code manipulation done