working on sun_and_time adapter