Put most code in functions or methods