added changed code example