commented out setTimeout. unnecessary for macbook