define "helper" methods