use object loade function as advised by drupal