updated kens code
updated kens code