a start on some helpers