support interval and resolution as attributes