messing with locks and format