Revised and made cleaner version of personnr