Changed call logic
Added emergency function
Added call functionality