now it works! corrected numerous things