added model methods