added initial version with br conversion