redundant double code block removed