removed split() method call for an array