Change to coords as object