view items code