cmdline based working V1.0