changed to Boolean to allow null values
added model pacakge