included grid gain package and library