Reworked the gem based off others.