dynamic runtime envir implentation