finish registry funcionality