added some platform logic
merge