Simple example of select replacement