finished python version of 1.2