changed registry in sample