removed stdlib, switched backend datatype to array