rooster.class.php