fixing of GUI and adding of a sample