removed hiding function