use a static method to match up with what the cli needs