started implementing search