added gems and set up models