added sidebar to add a functions