Removed junk function