second equation added