comments and code organisation