a simple and fast plattform detection