Re org partially working. Checking for correctness of function