create base logic to register status