small changes to sorin