adding findmin