code of a complete newb