wip: added gain select