changed 'delete' to 'hide'