Text this: Modelling of W UMa-type variable stars