added conten type, length fields