added data collector for testing