Logic for removing papers