Added Daniel's Solution