added equation to get answer