changed file for client payload handling