clone of rldn code