Added phase inputs