for the hartly tutorial