added AGI calculation
removed duplicate entries