tweaking main