added if statement for private settings