v0.05

  - added diagnostic
  - rename constant function to _constant