make it python3 way