Badly working variant of registration