adapt for 4.2 project