works now but definitely not ideal, slow.