start to imlement action handling