adding additional Platform check