working on a modified bsplayout impl