switched from j3dtimer to system.nanotime()