amend module api. add multiple lines handling. add chaining syntax