methods on class can change properties