altered to allow for different platform builds