use (bool) instead of (boolean)