content type detection and comments added to sample app