taken out some code that does not work