Added real time. Still lots of testing