Put back slug duplication code