Functions predefinition and comments