add setFrame of time