type added for making the IDE not showing a red line.
test cases added.