implementing uniform array