implemented timed mode and fixed iphone checker