Added check when there is no content provided