deprecated dupl stuff