calling function in same file