adding instance type selection
resolved merge