added trials and php processing script
fixed merge conflicts