used the renewal boolean for checking if membership is for renewal