adding deployment logic