remove usage of array some prototype