bolt abstraction in scala
new functions
aw