working on search register