location reader from tutorial