Work in progress
Added sequence counter