add -i option, like ping