input working properly now for resource names