show code for different versions