added isPaid