Description: Implementing GAIN