added some conditionals. Fixes #23
added policy methods. Fixes #24