added methods to facts class