changed the duration for black color poweru