Added logic for the Plans Card