Thomas' homework