fixed function syntax in part1