trying to make it work on 3.1