prob solving