Added multiple resolution handling