added model setter method