delay implemented
removed print
removed print
Remove default value for wait
add braces
merged add_pooling