Removed some mistaken code