add printlocks