Working solver!