more generic to get things into shape