import adopt and update sratom 0.4.2