small changes to make similar to mine