Removed unnecessary input-evaluation function