added the framesworks for the multiple player calculation