second commit..Added the return value