resources in main