implemented simple static double array