Added call back function for register new spot