implemented network clock on client and server