still trying to sort out the gem