working now but not sure if the headers are right