added back functionality to pub and bar graphic