gbf: updated to python3