doc and title working