add unfinished computing code