added integers and generic implementations in Sequence