Applying oops in return of value