delete the redundant code !