add delay parameter, fix package requires specification