Implemented some failsafes