Declaring function result to be able to call on it later to print a result to the console