added framework for pending actions
added framework for pending actions