remove unneccessary duplication