added alignment and size options, output format changed drastically