lodge-on-main-functions-1