adaptation theory