modified for TESTING.
added time setting protocol.