added method for testing for data