removed test logic