put adapter stuff with the rest of it