Trait guid.php completed and tested