* Added functionality to check for type of the arguments