added cli functionality