handling is_paid things