prepared for phonehap