created frame for get gains function