Delete redundant code