new GBC helper class
new GBC helper class
major refactoring