implemented basic functionality in action_fill()