Use double for testing