still problems with supervisor (I think)