trying to fix lack of delay