documentation for registers