python version is noticibly slower