I am not sure whether this result is the correct form you expected, but I somehow made it to work anyways