modify mutation state bool to int