make ground key optional