incorporate suggestion from hlint