added lambda example. added worker error handling