will probably work after zero-row problem is fixed