Changed payload to input