working on allowing payload be added without page refresh