Shares model code