getting the fold parameters