refactored pending actions