switching to python take 2