Creation of function call as declaration of defined variable result