add demo interface for gains