added $off to all strings used to try and return all alloted memory correctly