Vaguely work towards portability