Added function with return value