moved to upper directory, working for bars, not for map