prepare for all platforms