implemented tom's sugggestion for testing
implemented tom's sugggestion for testing