added searchP to the project but full of errors and warnings
k