traslate procedure is carried out in separate sub
subroutines merged in one file
fix
rename
function for removing adaptors was written