added notes on functionality