working on time resolution of sg