added calculation that converts percentage to decimal