removed test array and converted tabs to spaces