Raw code output
Trying to clean up 0/1 indexing headache