Added faster solution