make it cmd-line friendly