changed type to boolean type