add helpers for getting resources