cut down the number of writes here