add alternative end solution