full commentary and running correctly