Defined a function myFunc