some changes and php file