Added alternative solution