more register stuff - not complete