made internal resolution can change at runtime