made the default wait time 100ms
updated the documentation with new args