added hard reset