Changed to be compatible with CyanMobileX