gain param extended to 2