refactored
try to resend last value