Added to handle resources