hard part is over for inbox page