Refactored hardcode.