linked all frontend values to backend variables