add support for platforms