added sequencenum to contains