structure code like non-noob