Fixed PC and added a rain state