used hlint to tweak soluitons