added desktop support