Adding resolution into API