deleting excess code