renamed `resources`, added second example