add register stuff for convenience