gem stufff

untested