added native detection system