Move function onto model