got rid of useless code that didn't work