older versions of ruby dont seem to like const_get used in this fashion, this is arguably better than eval?