Handled different data tybes at the parameters level
added test cases