moved style stuff to end of nb