Proper functions declarations with const keyword