Code CLimate is not working properly