adding gain view