removed ) and added index