tweaks is rather main function