hs: copied in ios and andr files