never knew there is array_chunk() in php