config file added, calculate in client-side