removed unusued bool