code correction done