added --ask option