modifiying the source code to work with trunk version of synapse