having no return type is a default in func snippet