Trying to simplify
Switched to python