modified for zolomotion desktop version.