- added check for maximum delay time
- initializing parameter values in constructor