looking for better  reentrant parameters in writting