added delay for testing (commented)