Adding nesting for return values