Removed unnecessary boolean