mostly working, only two cases failing