added partial functionality for payment plans