gsbt updated with debugging.