basic resource definition