change flip over to use xyz convention