Delete reduntdant code