Added call to main