update documentation, add unique number procedures, add UNIX time function