fill x co-ordinate and y  co-ordinate