write lookfor function
add lookfor function