status update function-> the brute force one has been written
status update function-> the brute force one has been written