Added program states