turning ttt into a gem