Escaping the middle-income trap: A study on a developing economy