adding model helper methods