deleting unnecessary functions