changed file structure to add bar registration steps