fixed trait issue and added new trait calls to the rest of the writers