accomodated the return keyword