Wrote some model methods