keeping track of what was clicked