updated fields to match my project
put back original borrowed JS
still not getting it
still not right
commented out unneeded stuff for now