some work towards getting registration working.