change in cmdopt class