make this a little more portable...