more cross-platform stuff