Refactoring throwback.php