converted push alerts to console log