progress. implemented registration