added x and y coords input to extended form