updated Runtime class