use properties() method for getting model properties