basic register and get working