first attempt at localizing bars