ADDS documentation to Droput and simplify code