code SHOULD be MOSTLY python3 compatible (not deps)