added constance in generator system