this is the first version of the object stare code

Also, except for "angle", none of these variables need to be global. Make everything local, inside of update.