reorganisation of modules