added no sidebar to function