by content type logic changes