add note that i am borrowing code from Stan Lemon