-changes to ground checking