add 'safety checks', docs