added some thing and removed unnecessary stmnts and changed orders..