add select paying plan function