changed gainTarget memeber name to target to allow for ofset targets