mocked up suggestions to avoid ajax call