add chart and some fixes. work in production