changed Number to number ( typescript )
changed bool to boolean