changed print to be python3 compatible