Deleting unnecessary functions