[UPDATED] Readapted to multiple resolutions