modified yield, added deploy