Made command functions private