simplified cli code