check before add