added ability to pass in strings instead of just resource id's