generating resources