extracted a little convenience method to avoid duplication