Push-pull coding mechanism