Added locks