adding lib with initial error and handler