minor changes applied