made project more python 3 compatible