Added static variable for gemCost