office logic