added debug shizzle