Customer segmentation using RFM analysis