Fixing flawed code as per Ken's evaluation