added hide mode