using midnight mode