Removed unused piece of code