add printResult in bc