remove unnecessary redundancy