adding some methods for dealing with no data situations.