add check replies functino