Added return values and improved description.