updated codestd. made index