Seperate gem set up logic