changes to yt class