imrprovements to petAttributes
final improvements to Trigger prior to compile