GA implementation.