remove actions as separate method, make it simplier