initial work on some helpers