Created new  property in  class, based on logic in  method. Modified  to use new property.