added iphone 4 support