gem troubleshooting. Changed 'value' method