Correct use of pnp transistors

So for a level shifter, I have a 2N2222 switching the base of a PNP which is pulled up to +12v with 360K resistor. It seems to work OK on the breadboard. any unforeseen problems I might have before I connect it to the microcontroller?