Coding the apple