add resolution
before Modify to using timer
ready for using timer