added Java Delay Class, seems to work. Further testing necessary.