WE STRUGGLED TO WRITE THIS