made it 2.7 compatible