following drupal.org tutorial https://drupal.org/node/1476014