changed to packetry js stacking solution