realized losses