added listener, working on getting dan's thing to work
added listener, working on getting dan's thing to work