finished registration stuff