modify activity as resources