tiny refactor of ground model