moved operation to constructor, refs #22