Functions: definition and its types