working on unsent functionality