some minor changes done