I did a few tests and it seems to be working fine but it fails one of the tests..