Adding receiver code.