added subway solution