everything works except replacement