removing test logic