fixed unclear code