updated compatibility to 4.0