right code added for phpdcd