Removed unneeded boolean