some housekeeping: added utils & syntaxing more of ruby like