added -y option