changed return value, aded push for ios