some more codeeval code