fix the var
start adding how the front end works