solved a couple of crazy tasks