How to retrieve back the marked assignments