adding preventing props