small updates& & missing exclude function