genrator is a central place