working as intended; added batch mode :)