added modern cli functions