Adding register for all

Fixing silly mistake from last pull request