trying to make it work with 4.0