Added imperial logic to documentation