added the listener, in case you didn't feel like doing so