Use a map tp handle statements