Small changes. Bugfix in trial3