added small delays for outputs
print output status