add delays, logger