working on better permission handling