added office functionality