A non-engineer's attempt to code