found some better code and am manipulating it