Added depop thread