wrapped functionality of render() into a conditional testing for a true visible property before continuing