fixed producer consumer example