added some initializers and debug for capturing current state