isUserVisible functions added