added two enable pins