added profiencies query to view