fixed initialisation bug with operands, added formatting and delimiter setting