added hearbeat and arguments to wrappers