start working on register stuff