Try to make this a little more portable.