remove no longer needed and faulty piece of code