time select ugly array