frustrated attempts to make this work