Now uses viewport functions.