added obstacle array to mgc