Removed malfunctioning functions.