add crate. add sensor and reset for falling.