added --get option