*merged encoder sprint 2