wrote note that code does not work