change action to POJO